Skip to main content
Firmware 6.0.x {nightly}

OBD2

On-board diagnostics (OBD) provides vehicle self-diagnostic and reporting capabilities.
OBD2 functionality is typically required for vehicle homologation.

info

OBD2 is a premium feature not included in the standard (public) LYNX firmware.
Contact siliXcon to obtain an OEM firmware with OBD2 functionality enabled.

DTC Codes

Supported Diagnostic Trouble Codes (DTC) and their implementations:

DTCIDDescriptionLYNX Implementation Details
P01201Accelerator/Pedal Position Sensor/Switch "A" CircuitTriggers when /acc/csc output is NaN
P01222Accelerator/Pedal Position Sensor/Switch "A" Circuit LowRequires /acc/asc/absmin to be non-zero
Triggers when /acc/acc/in falls below absmin
Also applies to /acc/asc_2
P01233Accelerator/Pedal Position Sensor/Switch "A" Circuit HighRequires /acc/asc/absmax to be non-zero
Triggers when /acc/acc/in exceeds absmax
Also applies to /acc/asc_2
P05004Vehicle Speed Sensor "A"Reserved for future implementation
P0A1B5Drive Motor "A" Control ModuleTriggers when /driver/error is non-zero
P0A2A6Drive Motor "A" Temperature Sensor CircuitMotor sensor temperature failure
Triggers when RThermistor > 50 kOhm or < 80 Ohm
P0A2F7Drive Motor "A" Over TemperatureMotor overtemperature - /driver/limit & 256
Requires configured and functioning motor sensor
P0A3C8Drive Motor "A" Inverter Over TemperatureDriver overtemperature condition - /driver/stat & 4
P0A3F9Drive Motor "A" Position Sensor CircuitMotor sensor error - /driver/stat & 16
P0C0510Drive Motor "A" Phase U-V-W Circuit/OpenPhase B disconnection detected at startup
P0A9B11Hybrid Battery Temperature Sensor "A" CircuitTriggers upon CAN BMS connection loss
note

Motor Sensor Error

  • Some sin/cos sensors may have unreliable disconnection detection

PID Codes

Parameter IDs for diagnostic data:

PIDDescription
0x05Controller temperature [°C +40]
0x8DMotor RPM [rpm * 100]
0x5BBattery SOC [%]

Permanents

PermanentDescription
obd_t_milon[minutes] Time run with MIL on
obd_t_miloff[minutes] Time run with MIL off
obd_d_milon[km] Distance traveled with malfunction indicator lamp (MIL) on
obd_d_miloff[km] Distance traveled with malfunction indicator lamp (MIL) off
obd_ffFreeze frame
obd_dtcThis is an internal state to track the DTCs status. The OBD2 logic is computing from this value if the MIL is ON or OFF for each DTC.

Freeze Frame

The freeze frame is a snapshot of the vehicle's operating conditions at the time a DTC was triggered.

FieldDescription
1DTC caused the Freeze Frame
2Motor load. 0-255 -> 0-100% of motor phase current. (From controller current range)
3 - 4Motor RPM [rpm]
5 - 6Runtime since engine start [s]
note

To get motor RPM or runtime since start, you need to add two number fields like this:
First field + Second field * 256 = Value

Commands

CommandDescription
obd_clearClears all OBD2 DTCs and resets the MIL status